import request from '/@/utils/request';

//查询单位树状对象
export async function getOrganTree(params?: object) {
	return await request({
		url: '/statistics/organ',
		method: 'post',
		data: params,
	});
}

//物品状态统计
export async function statisticsEvidenceStatus(params?: object) {
	return await request({
		url: '/statistics/estatus',
		method: 'post',
		data: params,
	});
}

//案件数量统计
export async function statisticsCase(params?: object) {
	return await request({
		url: '/statistics/case',
		method: 'post',
		data: params,
	});
}

//物品数量统计
export async function statisticsEvidence(params?: object) {
	return await request({
		url: '/statistics/evidence',
		method: 'post',
		data: params,
	});
}

//库区数量统计
export async function statisticsRoom(params?: object) {
	return await request({
		url: '/statistics/room',
		method: 'post',
		data: params,
	});
}

//区域下拉框数据
export async function statisticsAreaDic(params?: object) {
	return await request({
		url: '/statistics/area',
		method: 'post',
		data: params,
	});
}

// 物品状态统计/实战分析
export async function analysisEvidenceStatus(params?: object) {
	return await request({
		url: '/statistics/analysis/estatus',
		method: 'post',
		data: params,
	});
}

// 物品类别统计/实战分析
export async function analysisEvidenceClass(params?: object) {
	return await request({
		url: '/statistics/analysis/class',
		method: 'post',
		data: params,
	});
}

// 物品来源统计/实战分析
export async function analysisEvidenceSource(params?: object) {
	return await request({
		url: '/statistics/analysis/source',
		method: 'post',
		data: params,
	});
}

// 提取部位统计/实战分析
export async function analysisExtractionParts(params?: object) {
	return await request({
		url: '/statistics/analysis/parts',
		method: 'post',
		data: params,
	});
}

// 提取方法统计/实战分析
export async function analysisExtractMethod(params?: object) {
	return await request({
		url: '/statistics/analysis/method',
		method: 'post',
		data: params,
	});
}

// 物品库房统计/实战分析
export async function analysisRoom(params?: object) {
	return await request({
		url: '/statistics/analysis/room',
		method: 'post',
		data: params,
	});
}
